package com.ljf.daily.makemoneydetail.service;

import com.ljf.common.exception.ServiceException;
import com.ljf.common.result.ServiceResultModel;
import com.ljf.common.service.IBasisService;
import com.ljf.daily.makemoneydetail.dto.command.DailyDatMakeMoneyDetailAccountAdjustCommand;
import com.ljf.daily.makemoneydetail.dto.command.DailyDatMakeMoneyDetailCommand;
import com.ljf.daily.makemoneydetail.dto.command.DailyDatMakeMoneyDetailImportDataCommand;
import com.ljf.daily.makemoneydetail.dto.command.DailyDatMakeMoneyDetailTemplateImportCommand;
import com.ljf.daily.makemoneydetail.dto.query.DailyDatMakeMoneyDetailQuery;
import com.ljf.daily.makemoneydetail.vo.DailyDatMakeMoneyDetailImportDataVO;
import com.ljf.daily.makemoneydetail.vo.DailyDatMakeMoneyDetailVO;

/**
 * 赚钱明细记录  服务接口定义
 * 
 * @author LJF
 * @since 2024-01-25
 */
public interface IDailyDatMakeMoneyDetailService extends IBasisService<DailyDatMakeMoneyDetailQuery, DailyDatMakeMoneyDetailVO, DailyDatMakeMoneyDetailCommand> {

    /**
     * 导入数据接口
     *
     * @param command
     * @return
     * @throws ServiceException
     */
    ServiceResultModel<DailyDatMakeMoneyDetailImportDataVO> importData(DailyDatMakeMoneyDetailImportDataCommand command) throws ServiceException;

    /**
     * 账户调整接口
     *
     * @param command
     * @return
     * @throws ServiceException
     */
    ServiceResultModel accountAdjust(DailyDatMakeMoneyDetailAccountAdjustCommand command) throws ServiceException;

    /**
     * 模板导入接口
     *
     * @param command
     * @return
     * @throws ServiceException
     */
    ServiceResultModel templateImport(DailyDatMakeMoneyDetailTemplateImportCommand command) throws ServiceException;

}
